/*
 * Copyright (c) 2017 22420103@QQ.COM 版权所有
 */
package com.lehe.service;

import com.lehe.common.exceptions.LHServiceException;
import org.apache.http.NameValuePair;

import java.util.List;

/**
 * http请求接口<br>
 *
 * @author 王丹
 * @FileName IHttpSendService.java<br>
 * @Language Java<br>
 * @date 2016-01-08<br>
 */
public interface IHttpSendService {

    String post(String url, List<NameValuePair> params) throws LHServiceException;

    String postByJson(String url, String paramsJson) throws LHServiceException;

    String get(String url, List<NameValuePair> params) throws LHServiceException;
}
